FROM java:8
VOLUME /tmp
VOLUME /logs
ADD community-server-1.0.0.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
CMD ["--spring.profiles.active=prod"]